package com.gnerv.sylvanas.framework.plugin.logger.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Gnerv LiGen
 */
public class BusinessLogService implements LogService {

    private static Logger LOGGER;

    public BusinessLogService(String name) {
        LOGGER = LoggerFactory.getLogger(name);
    }

    @Override
    public void info(String message) {
        LOGGER.info(message);
    }

    @Override
    public void error(String message) {
        LOGGER.error(message);
    }

    @Override
    public void warn(String message) {
        LOGGER.warn(message);
    }

    @Override
    public void debug(String message) {
        LOGGER.debug(message);
    }
}
